home *** CD-ROM | disk | FTP | other *** search
/ How Many Bugs in a Box / How Many Bugs in a Box.cdr / bugs / juicebar / 00780.ls < prev    next >
Encoding:
Text File  |  1995-04-07  |  413 b   |  16 lines

  1. on pressbutton whichsprite, whichcast
  2.   set oldcast to the castNum of sprite whichsprite
  3.   set whichcast to the number of cast whichcast
  4.   if whichcast < 0 then
  5.     exit
  6.   end if
  7.   set the castNum of sprite whichsprite to whichcast
  8.   updateStage()
  9.   startTimer()
  10.   repeat while (the timer < 5) or the stillDown
  11.     do("nothing")
  12.   end repeat
  13.   set the castNum of sprite whichsprite to oldcast
  14.   updateStage()
  15. end
  16.